<template>
  <div id="box">
    <!-- <indexDemo></indexDemo> -->
    <h1>开始</h1>
    <router-link tag="li" active-class="wow" to="/home">首页</router-link>
    <router-link tag="li" active-class="wow" to="/my">我的</router-link>
    <router-link tag="li" active-class="wow" to="/car">购物车</router-link>
    <!-- <router-link tag="li" active-class="wow" to="/car">泥头车</router-link> -->
    <router-view></router-view>
    <!-- <router-link tag="li" active-class="wow1" to="/car/1">泥头车1</router-link>
    <router-link tag="li" active-class="wow1" to="/car/2">泥头车2</router-link> -->
  </div>
</template>
<script>
// import indexDemo from "./views/index.vue";
export default {
  name: "App",
  components: {
    // indexDemo,
  },
};
</script>
<style>
.wow {
  color: aqua;
}
.wow1 {
  color: aquamarine;
}
</style>
